﻿using RockBus.Initialization.Interfaces;
using RockBus.Monitoring.Interfaces;

namespace RockBus.Monitoring
{
    public class CollectorManagerInitialization : IInitialization
    {
        public CollectorManagerInitialization(ICollectorManager collectorManager)
        {
            this.CollectorManager = collectorManager;
        }

        private ICollectorManager CollectorManager { get; set; }

        public void Initialize()
        {
            this.CollectorManager.Start();
        }
    }
}
